package com.itheima.jun.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.time.LocalDateTime;

@RestController
public class HelloController {

    @RequestMapping("/hello")
    public  String  hello(){
        System.out.println("hello:"+LocalDateTime.now());
        return "hello";
    }
}
